/* pkgPublish/pages/postPublish/index.wxss */
.container {
  --icon-color: var(--utopia_font-normal);
  --icon-bgc: #000;
  padding: 0 30rpx 30rpx;
  box-sizing: border-box;
  .textarea {
    min-height: 150rpx;
  }
  .uploader {
    display: flex;
    flex-wrap: wrap;
    &-slot {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 180rpx;
      height: 180rpx;
      background-color: #f0f0f0;
      font-size: var(--utopia_mini-size);
      color: var(--utopia_font-normal);
      border-radius: 10rpx;
    }
    &-message {
      display: flex;
      align-items: flex-end;
      font-size: var(--utopia_small-size);
      color: var(--utopia_font-normal);
    }
  }
  .tags {
    display: inline-block;
    padding: 5rpx 20rpx;
    margin: 20rpx 0;
    align-items: center;
    font-size: var(--utopia_small-size);
    background-color: #f0f0f0;
    border-radius: 20rpx;
    &-item {
      padding: 0 10rpx;
      width: 80rpx;
      height: 40rpx;
      line-height: 40rpx;
    }
  }
  .position {
    display: flex;
    justify-content: space-between;
    margin-top: 30rpx;
    font-size: var(--utopia_middle-size);
    &-left {
      display: flex;
      .text {
        display: -webkit-box;
        text-overflow: ellipsis; /*最后使用省略号显示*/
        overflow: hidden; /*超出部分隐藏*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1; /*能够显示几行*/
      }
      .icon {
        width: 36rpx;
        height: 36rpx;
        margin-right: 15rpx;
        color: #fff;
        background-color: var(--icon-bgc);
        text-align: center;
        line-height: 36rpx;
        border-radius: 50%;
      }
    }
    &-right {
      color: var(--icon-color);
    }
    &.active {
      color: #ff685c;
      --icon-color: #ff685c;
      --icon-bgc: #ff685c;
    }
  }
  .publish {
    width: 128rpx;
    height: 140rpx;
    margin: 200rpx auto 200rpx;
  }
}
.van-cell {
  padding: 20rpx 0 !important;
}
.van-uploader__preview-image {
  width: 180rpx !important;
  height: 180rpx !important;
}
.van-popup-text {
  font-size: var(--utopia_big-size);
  height: 66%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  line-height: 1.5;
}
.van-popup-button {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.tagsInput {
  padding: 10rpx 40rpx;
  display: flex;
  background-color: rgb(247, 248, 250);
  // border-bottom: 2rpx solid rgb(182, 182, 182);
  .input {
    flex: 1;
    margin-right: 80rpx;
    background-color: rgb(0, 0, 0, 0);
  }
  .button {
    background-color: rgb(0, 0, 0, 0);
    border: none;
  }
}
.tagsOption {
  &-left {
    .van-sidebar {
      min-height: 90vh;
      background-color: rgb(247, 248, 250);
    }
  }
  &-right {
    flex: 1;
    padding: 10rpx 0;
    .item {
      font-size: var(--utopia_middle-size);
      padding: 30rpx 20rpx;
      border-bottom: 2rpx solid rgb(247, 248, 250);
    }
  }
}
